import {getMenuList} from '../../axios/index';
export default{
    namespaced: true,

    actions: {

    },
    mutations: {
        SET_TOKEN(state: any, token: string){
            state.token = token
            localStorage.setItem("token", token)
        },
        RESETSTATE(state: any){
            state.token = ''
        },

        menuList(state: any){
            const data =  getMenuList()
         }

    },
    state: () => ({
        token: ''

    })
}